Global Index
HTML5 JS API Index > Browser Tutorials & Specs

NavigatorID

Implemented by Navigator, WorkerNavigator

This type groups properties and / or operations together for documentation purposes and does not have an explicit JavaScript representation.

Properties
DOMString
appCodeName
Must return the string "Mozilla".
DOMString
appName
Must return either the string "Netscape" or the full name of the browser, e.g. "Mellblom Browsernator".
DOMString
appVersion
Must return either the string "4.0" or a string representing the version of the browser in detail, e.g. "1.0 (VMS; en-US) Mellblomenator/9000".
DOMString
platform
Must return either the empty string or a string representing the platform on which the browser is executing, e.g. "MacIntel", "Win32", "FreeBSD i386", "WebTV OS".
DOMString
product
Must return the string "Gecko".
DOMString
userAgent
Must return the string used for the value of the "User-Agent" header in HTTP requests, or the empty string if no such header is ever sent.
Operations
boolean
taintEnabled()
Must return false.